package org.mokusakura.persistence.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.mokusakura.domain.VerifyCode;

import java.sql.Timestamp;

@Mapper
public interface VerificationMapper extends BaseMapper<VerifyCode> {
    VerifyCode selectCorrectAndEffectiveVerifyCodeByEmail(String email, Timestamp currentTime, String verifyCode);
}
